package org.jeecg.modules.wms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wms.entity.FinishedGoodsInbound;
import org.jeecg.modules.wms.vo.FinishedGoodsInboundVO;

import java.util.List;

/**
 * 成品入库单Mapper接口
 */
public interface FinishedGoodsInboundMapper extends BaseMapper<FinishedGoodsInbound> {

    /**
     * 查询入库单列表（含关联信息）
     */
    IPage<FinishedGoodsInboundVO> queryInboundList(Page<FinishedGoodsInboundVO> page, @Param("query") FinishedGoodsInboundVO query);


    /**
     * 查询入库单详情（含明细）
     */
    FinishedGoodsInboundVO queryInboundDetail(@Param("id") String id);
}
